package test1;

import java.util.InputMismatchException;
import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        try{
            int n=sc.nextInt();
            System.out.println(10/n);
        }catch (InputMismatchException e){
            e.printStackTrace();
        }catch (ArithmeticException e){
            e.printStackTrace();
        }finally {
            sc.close();
            System.out.println("finally执行了");
        }
    }
}
